﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="BlogView.ascx.cs" Inherits="Marbles.CMS.Controls.BlogView" %>
<asp:ListView ID="lstblog" runat="server" >
<LayoutTemplate>
<table border="0" cellpadding="2" cellspacing="0" style="border:solid 1px silver; background:white;" width="500px">
<tr runat="server" id="itemPlaceholder" />
</table>
</LayoutTemplate>
<ItemTemplate>
<tr runat="server" >
<td><asp:Label ID="lblTitle"  Font-Bold="true"  Font-Names="Garamond" Font-Size="X-Large" runat="server" text='<%#Eval("Title") %>' /> 
<asp:Label  Font-Size="X-Small" ID="lblPubDate" runat="server" text='<%#Eval("PublishDate","{0:dd/MM/yyyy hh:mmtt}") %>' /></td>
</tr>
<tr runat="server">
<td><asp:Label ID="lblDescription" runat="server" text='<%#Eval("Description") %>' /></td>
</tr>
<tr runat="server" >
<td><asp:Label ID="lblComments" runat="server" text='<%#Eval("Comments") %>' /> <asp:HyperLink id="lnkNav" runat="server" NavigateUrl='<%#Eval("Link") %>' Text=">>View"></asp:HyperLink></td>
</tr>
</ItemTemplate>
</asp:ListView>